< previous page page_113 next page >

Page 113
4. Click Next to prepare the Menu Editor for another new item. Notice that in addition to clearing the property boxes, the new (blank) item in the Menu Editor's box is automatically indented to the level of the item preceding it.
5. Add new (indented) menu items with the following captions and names:
Caption
Name
&Open . . .
mnuFileOpen
&Print . . .
mnuFilePrint
&Save
mnuFileSave
Sen&d To
mnuFileSendTo

6. The Send To menu item will itself be a submenu. After you create it, indent the next blank menu item to another level by clicking the right-facing arrow, and add new (twice-indented) menu items with these captions and names:
Caption
Name
&Mail Recipient
mnuFileSendToMail
&Fax Recipient
mnuFileSendToFax

note.gif When you create multiple menu levels, as in the Send To option of the sample menu, Windows automatically provides the arrow-like indicator that lets users know a submenu exists. square.gif

7. Click the left-facing arrow once to unindent the next blank menu item by one level. Set this item's caption to E&xit and its name to mnuFileExit.
8. Click Next or press Enter to create a new menu item.
9. Click the left-facing arrow to make this a top-level menu item (not indented at all). Set this new item's caption to &Edit and its name to mnuEdit.
10. Indent the next menu item so that it is subordinate to the Edit menu. Add new menu items with these captions and names:
Caption
Name
Cu&t
mnuEditCut
&Copy
mnuEditCopy
&Paste
mnuEditPaste

11. On your own, add a top-level menu item. Set its Caption property to &Options and its Name property to mnuOptions.
12. Add these indented (second-level) menu items under the Options menu:
Caption
Name
&Text Only
mnuOptionsText
&Uppercase
mnuOptionsUppercase

The Menu Editor should look like the one in Figure 6.5.

 
< previous page page_113 next page >